package com.yaozheng.vocationaltraining.http;



/**
 * Http请求结果回调
 */
public interface HttpCallback {

	/**
	 * http请求成功时回调
	 * 
	 * @param httpResult
	 *            返回结果
	 */
	public void onSuccess(HttpResult httpResult);

	/**
	 * http请求失败时回调
	 * 
	 * @param httpResult
	 *            返回结果
	 */
	public void onError(HttpResult httpResult);

}
